package com.yanqu.road.entity.enums.washe;

public enum eWasheSkillType {

    // 【卡片】
    Card_01(1, "郑果农"),
    Card_02(2, "严小二"),
    Card_03(3, "敦煌匠神"),
    Card_04(4, "卞玉京"),
    Card_05(5, "捕快"),
    Card_06(6, "康茶师"),
    Card_07(7, "牙九"),
    Card_08(8, "鲁班"),
    Card_09(9, "李香君"),
    Card_10(10, "寇白门"),
    Card_11(11, "百戏圣刀"),
    Card_12(12, "屠夫"),
    Card_13(13, "驯鹰少女"),
    Card_14(14, "紫玉"),
    Card_15(15, "沈万三"),
    Card_16(16, "马湘兰"),
    Card_17(17, "方火头"),
    Card_18(18, "毕昇"),
    Card_19(19, "丁戏人"),
    Card_20(20, "花艺师"),
    Card_21(21, "李神手"),
    Card_22(22, "活阎王"),
    Card_23(23, "手工少女"),
    Card_24(24, "张三丰"),

    // 【盘面技能】
    Skill_1001(1001, "刷新"),
    Skill_1002(1002, "锤子"),
    Skill_1003(1003, "极速充能"),
    Skill_1004(1004, "棋盘"),
    Skill_1005(1005, "制造星星"),
    Skill_1006(1006, "消除十字"),
    Skill_1007(1007, "迷你印刷"),
    Skill_1008(1008, "迷你飞刀"),
    Skill_1009(1009, "迷你机械手"),
    Skill_1010(1010, "炸弹运送"),
    Skill_1011(1011, "传送"),
    Skill_1012(1012, "制造钻石"),
    Skill_1013(1013, "引爆器"),

    /*
    1003：没效果
    1004：效果1：所有变了的格子
    1005：效果1：生成的星星格子
    1006：效果1：十字范围的格子
    1007：效果1：左移  效果2：右移    参考毕升技能
    1008：效果1：要消除的格子
    1009：效果1：参考鲁班
    1010：效果1：生成的炸弹格子
    1011：效果1：交换后的格子
    1012：效果1：生成的钻石格子
    1013：效果1：引爆的炸弹格子
     */

    ;

    public static eWasheSkillType getType(int value) {
        for (eWasheSkillType type : eWasheSkillType.values()) {
            if (type.getValue() == value) {
                return type;
            }
        }
        return null;
    }

    private int value;
    private String desc;

    eWasheSkillType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
